package elementui.form;

/**
 * javazgw@gmail.com windown 10
 * 2020/6/28 20:06
 */
public abstract class FormItem {
     String uuid;
     String vmode;
     String title;
     String data;
    abstract String getDefaultHmtl();
    abstract String getDefaultScript();
    public void setData(String data)
    {
        this.data=data;
    }
     String getData(){


        if(this.data == null )
        {
            return getVmode()+": ''";
        }
        return data;
     }
     String getTitle()
     {
         return title;
     }

     public void setTitle(String title)
     {
         this.title = title;
     }
     public void setVmodel(String vmode){
         this.vmode =vmode;
     };
     String getVmode()
    {
        return this.vmode;
    }
}
